home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / HardwareProjects / CDTVJoystickAd.lha / CDTVJoystickAdapter.txt
Encoding:
Text File  |  1994-10-31  |  16.7 KB  |  371 lines

  1.                JOYSTICK/MOUSE ADAPTOR FOR THE CDTV
  2.                ===================================
  3.  
  4.               Copyright August 1994, Darren Ewaniuk
  5.  
  6. This text will show you how to add standard joystick/mouse ports
  7. onto your CDTV at a very low cost.  You will need to open up your
  8. CDTV to perform this, but you will not need to cut or solder to any
  9. components of your CDTV.  This adaptor, once you make it up, will
  10. consist of a DIP chip socket, two ribbon cables, and the joystick
  11. ports themselves.  Installation consists of removing a socketed chip
  12. from your CDTV motherboard, installing the adaptor's socket in its
  13. place, and replacing the chip in the adaptor's socket.
  14.  
  15. =====================================================================
  16.  
  17. Parts required:
  18.  
  19. *       2  -  Male DE-9 Joystick port connectors (see note 1 below)
  20. *       1  -  40 pin machine pin DIP socket (see note 2 below)
  21. *       90 cm (3 feet) of 10 conductor ribbon cable
  22.  
  23.  
  24. Note 1: For a more professional look (and easier construction) the
  25.         ribbon-cable (IDC) connectors are recommended.  If you cannot
  26.         find these, you can use solder-cup type connectors, but this
  27.         means a bit more soldering work and a flimsier and messier
  28.         looking cable.
  29.  
  30. Note 2: Machine pin (round hole) sockets are greatly recommended
  31.         because they allow you to solder to the top of the socket
  32.         pins without affecting the socket's ability to be seated in
  33.         the CDTV motherboard's socket.  If you are a skilled
  34.         solderer, you could use standard DIP sockets, but this is not
  35.         recommended.
  36.  
  37. =====================================================================
  38.  
  39. Construction:
  40.  
  41. 1.      First, cut the ribbon cable into two equal 45 cm (18 inch)
  42.         lengths.  From each cable, remove the tenth conductor (the
  43.         one on the edge opposite the striped conductor).
  44.  
  45. 2.      Next, put the DE-9 joystick connectors on one end of each of
  46.         the ribbon cables.  The procedure will vary depending on
  47.         which type of connectors you have.  Follow 2(a) if you have
  48.         ribbon cable connectors, 2(b) if you have solder cup
  49.         connectors.
  50.  
  51.         2(a).   If you have IDC ribbon cable connectors, lift up the
  52.                 end cap so you can slide the ribbon cable between it
  53.                 and the connector, or if you cannot do that with the
  54.                 connectors you have, remove the end cap to expose the
  55.                 crimping prongs.  Decide whether you want the ribbon
  56.                 up or down, and make up both cables the same way by
  57.                 having the free end of the ribbon cable coming out at
  58.                 the side of the connector with either the wide or
  59.                 narrow side of the 'D' respectively.  Align the
  60.                 stripe end of the ribbon cable with the pin 1 prong
  61.                 (pin numbers can be read from the front of the
  62.                 connector where you would normally plug in your
  63.                 mouse).  The end of the cable should be flush with
  64.                 the end of the connector.  Then place the end cap on
  65.                 top of the ribbon cable if you removed it, and using
  66.                 a vise, clamp, or hammer, squeeze the end cap onto
  67.                 the connector until the clips on the side lock the
  68.                 connector together.  Repeat the procedure for the
  69.                 second ribbon cable.
  70.  
  71.         2(b).   If you have solder cup connectors, split apart all of
  72.                 the wires from one end of each ribbon cable so that
  73.                 they are separated from the other wires for about
  74.                 12 mm (1/2 inch).  Strip the insulation from each of
  75.                 these wires for about 2 mm (1/16 inch) and tin them
  76.                 with solder.  Solder the striped wire to pin 1 of
  77.                 the connector (on the upper pins), the second wire to
  78.                 pin 6 (on the lower pins), the third wire to pin 2,
  79.                 etc. as shown below.  When all 9 pins are soldered,
  80.                 repeat with the other ribbon cable.
  81.  
  82.                     striped wire -> pin 1
  83.                     second wire  -> pin 6
  84.                     third wire   -> pin 2
  85.                     fourth wire  -> pin 7
  86.                     fifth wire   -> pin 3
  87.                     sixth wire   -> pin 8
  88.                     seventh wire -> pin 4
  89.                     eighth wire  -> pin 9
  90.                     ninth wire   -> pin 5
  91.  
  92.  
  93. 3.      Prepare the first cable for the mouse port.  Split apart all
  94.         of the wires from the remaining end of the ribbon cable so
  95.         that they are separated from the other wires for about 50 mm
  96.         (2 inches).  Cut off 25 mm (1 inch) of each wire except for
  97.         the fourth and sixth wires. Leave the fourth wire long, and
  98.         cut 13 mm (1/2 inch) from the sixth wire.  This will make the
  99.         connections to the DIP socket tidy.  Then strip about 2 mm
  100.         (1/16 inch) of insulation from each wire, and tin with
  101.         solder.  Solder each wire to the appropriate DIP socket pin,
  102.         as shown below.  Curl each wire around the top, thicker area
  103.         of the DIP socket pin and solder it using a minimum amount of
  104.         solder.  Then cut off any excess wire.  Keep the narrow part
  105.         of the pins clean of solder so that they can fit in the
  106.         socket.  Ensure that the wires and solder do not touch other
  107.         pins.
  108.  
  109.             striped wire -> pin 9     YB1
  110.             second wire  -> pin 5     FIR0
  111.             third wire   -> pin 8     XA1
  112.             fourth wire  -> pin 1     +5V
  113.             fifth wire   -> pin 7     YA1
  114.             sixth wire   -> pin 12    GND
  115.             seventh wire -> pin 6     XB1
  116.             eighth wire  -> pin 4     POT0Y
  117.             ninth wire   -> pin 3     POT0X
  118.  
  119.  
  120. 4.      Prepare the second cable for the joystick port.  First, split
  121.         apart the ribbon cable for 75 mm (3 inches).  Cut off 50 mm
  122.         (2 inches) of each wire except for the fourth and sixth
  123.         wires.  Again, leave the fourth wire long, and cut off about
  124.         37 mm (1-1/2 inch) from the sixth wire.  Strip the wires, tin
  125.         with solder, and solder the wires to the DIP socket.  Note
  126.         that pin 12 (ground) will have wires from both joystick ports
  127.         attached to it.
  128.  
  129.             striped wire -> pin 20    YB2
  130.             second wire  -> pin 16    FIR1
  131.             third wire   -> pin 19    XA2
  132.             fourth wire  -> pin 30    +5V
  133.             fifth wire   -> pin 18    YA2
  134.             sixth wire   -> pin 12    GND
  135.             seventh wire -> pin 17    XB2
  136.             eighth wire  -> pin 15    POT1Y
  137.             ninth wire   -> pin 14    POT1X
  138.  
  139.  
  140. 5.      Double-check that the ribbon cable wires are connected to the
  141.         correct pins on the DE-9 connectors and the DIP socket, and
  142.         that there are no wires or solder bridges between adjacent
  143.         pins.  Then proceed to the installation step.
  144.  
  145. =====================================================================
  146.  
  147. Pin diagrams:
  148.  
  149. BACK (SOLDER CUP) VIEW OF MALE DE-9
  150.  
  151.       \---------------------/
  152.        \ 5   4   3   2   1 /
  153.         \  9   8   7   6  /
  154.          \---------------/
  155.  
  156.   pins should be numbered on the
  157.   front and back of the connector
  158.  
  159. ---------------------------------------------------------------------
  160.  
  161.          TOP VIEW OF 40 PIN MACHINE PIN DIP SOCKET
  162.  
  163. 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
  164. |o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o|
  165. |                                                          |
  166. |)                                                         |
  167. |                                                          |
  168. |o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o|
  169.  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20
  170.  
  171.        Note that the end with pin 1 has a notch in it
  172.  
  173. ---------------------------------------------------------------------
  174.  
  175. PARTIAL BOTTOM VIEW OF DIP SOCKET SHOWING WIRE CONNECTIONS
  176.  
  177.   |     |  |  |
  178.   |     |  |  | <- Wire with bare end curled around wide part of pin
  179. |o|-o--o|-o|-o|..
  180. |/     /  /  / <- Cut off excess wire at centre of socket
  181. |)
  182. |
  183. |o--o--o--o--o-..
  184. 40 39 38 37 36
  185.  
  186. ---------------------------------------------------------------------
  187.  
  188.  SIDE VIEW OF 40 PIN MACHINE PIN DIP SOCKET
  189.  
  190.                                           Socket holes (don't solder)
  191.                                          /
  192. [XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX] <- Plastic part of socket
  193.   # # # # # # # # # # # # # # # # # # # # <- Top part of pins
  194.   | | | | | | | | | | | | | | | | | | | |               (solder here)
  195.   | | | | | | | | | | | | | | | | | | | | <- Pins (don't solder)
  196.  
  197. ---------------------------------------------------------------------
  198.  
  199.                  RIBBON CABLE CONNECTION DIAGRAM
  200.  
  201.                   9 conductor flat ribbon cable
  202.  
  203.    To DE-9 connector pin #             To DE-9 connector pin #
  204.         (Mouse port)                       (Joystick port)
  205.  
  206.  
  207.   5     4     3     2     1           5     4     3     2     1
  208.      9     8     7     6                 9     8     7     6
  209.   |  |  |  |  |  |  |  |  |           |  |  |  |  |  |  |  |  |
  210.   |  |  |  |  |  |  |  |  |           |  |  |  |  |  |  |  |  |
  211.   |  |  |  |  |  |  |  |  |           |  |  |  |  |  |  |  |  |
  212.   |  |  |  |  |  |  |  |  |Stripe     |  |  |  |  |  |  |  |  |Stripe
  213.   |  |  |  |  |  |  |  |  |           |  |  |  |  |  |  |  |  |
  214.   |  |  |  |  |  |  |  |  |           |  |  |  |  |  |  |  |  |
  215.   |  |  |  |  |  |  |  |  |           |  |  |  |  |  |  |  |  |
  216.   3  4  6  |  7  |  8  5  9          14 15 17  | 18  | 19 16 20
  217.            |     |                             |     |
  218.           12     |                            12     |
  219.         (12 mm   |                          (12 mm   |
  220.         longer)  1                          longer)  |
  221.                (25 mm                                |
  222.                longer)                               30
  223.                                                    (50 mm
  224.                                                    longer)
  225.                    To machine pin DIP socket pin #
  226.  
  227. =====================================================================
  228.  
  229. Installation:
  230.  
  231. 1.      Remove all power to the CDTV by unplugging the power cable.
  232.  
  233. 2.      Carefully place your CDTV on a static-free mat, and use
  234.         a static-free wristband if you have one.  If you don't have
  235.         these, at least do this work on a worktable in a room without
  236.         a rug after you have grounded yourself.
  237.  
  238. 3.      Open the top cover by unscrewing the four screws in the sides
  239.         and the two screws in the top back of the CDTV.  Once the
  240.         cover is open, do not touch any components unless told to.
  241.         Many of the components could be damaged by a static charge,
  242.         and even with power off, there could be dangerous voltages
  243.         present on some components.
  244.  
  245. 4.      Find U75, a 40 pin DIP chip at the front centre of the CDTV
  246.         motherboard.  The chip will be marked "252609-02".  It may
  247.         have a different number after the dash, but the first part of
  248.         the number should be the same.  Carefully remove it by prying
  249.         it up using a flat blade screwdriver from the sides, making
  250.         sure that you do not bend the pins.  Remember the orientation
  251.         of this chip (the notch on one end should be on the side
  252.         closest to the right of the CDTV).
  253.  
  254. 5.      Carefully plug the socket of the adaptor cable into the
  255.         socket you just removed the chip from.  Pin 1 of the adaptor
  256.         socket should be towards the right, so that the ribbon cables
  257.         exit towards the back of the CDTV.
  258.  
  259. 6.      Replace U75 in the adaptor's socket, keeping it in the same
  260.         orientation it was when you removed it.  Make sure that it is
  261.         firmly seated and that none of the pins are bent out of the
  262.         socket.
  263.  
  264. 7.      Route the joystick adaptor cables to a suitable position
  265.         outside your CDTV.  If you do not have a SCSI-TV, then
  266.         you can route the cables out the expansion connector space.
  267.         To do this, remove the expansion slot cover by removing the
  268.         two screws holding it in place, and temporarily remove the
  269.         ribbon cable at the back left of the CDTV.  Now route the
  270.         two joystick cables through the hole at the back left of the
  271.         chassis, behind the CD-ROM drive, then out the expansion
  272.         hole.  For a simple strain relief, arrange the connectors so
  273.         that the ribbon cables exit the top of the expansion hole,
  274.         then bolt the expansion plate back on so that the top of it
  275.         holds the ribbon cables in place.  If you want to make a
  276.         professional looking system, then cut or punch out DE-9 holes
  277.         in the expansion plate and mount the joystick connectors on
  278.         it.  Remember to replace the ribbon cable at the back left of
  279.         the CDTV when you are finished.
  280.  
  281. 8.      Replace the top cover of the CDTV, securing the four screws
  282.         on the sides and the two on the back.
  283.  
  284. =====================================================================
  285.  
  286. Notes:
  287.  
  288. 1.     This adaptor cable operates just as if you attached a 'Y'
  289.        cable to the joystick/mouse ports of a normal Amiga.  Thus,
  290.        attaching a mouse to the mouse port may have unexpected
  291.        effects, since you are effectively putting it and the
  292.        CDTV remote's 'infrared mouse' in parallel.  Because of the
  293.        way a mouse works, two mice normally cannot share the same
  294.        port.  If you wish to use the CDTV remote in mouse mode, you
  295.        must remove the mouse from the mouse port.  If you wish to use
  296.        a mouse in the mouse port, you must not move the mouse from
  297.        the CDTV remote while it is in mouse mode.  If you wish to
  298.        permanently use the mouse in the mouse port, and disable the
  299.        CDTV infrared controller's mouse mode, then remove U75, bend
  300.        up pins 6, 7, 8, and 9, and replace it back in the adaptor's
  301.        socket.  This will disable the remote's movements in mouse
  302.        mode only, while still keeping its joystick functions and
  303.        mouse buttons intact.
  304.  
  305. 2.     If you wish to use an analog joystick with this adaptor, you
  306.        may have to remove U75, bend up pins 14 and 15, and replace
  307.        it in the adaptor's socket.
  308.  
  309.  
  310. =====================================================================
  311.  
  312. Warning and Disclaimer:
  313.  
  314. Installing this adaptor will void your CDTV's warranty, since it
  315. requires opening your CDTV's case.  There are static sensitive
  316. devices and possibly dangerous voltages in your CDTV.  Do not touch
  317. any components while the cover is open.  If this adaptor is put
  318. together incorrectly, it may damage your CDTV.  Verify that the
  319. connections are correct and that there are no solder bridges when
  320. constructing the cable, and verify that there are no bent pins or
  321. touching pins when installing the adaptor.  The builder of this
  322. project is responsible for verifying that this project complies with
  323. all electrical, safety, radio frequency, or other relevant codes in
  324. your region.  Neither Darren Ewaniuk, his employer(s), nor any
  325. distributors of this text assume any responsibility for any damages
  326. whatsoever occurred from the assembly, installation, or use of this
  327. project, nor from any effects or damages caused by any design flaws
  328. or typographical errors.  In other words, it works for me, but if
  329. you build it, you're on your own...
  330.  
  331. CDTV and Amiga are registered trademarks of Commodore Amiga Inc.
  332. SCSI-TV is a trademark of AmiTrix Development.
  333. =====================================================================
  334.  
  335. Distribution:
  336.  
  337. These designs are Copyright (C) 1994 Darren Ewaniuk, but are freely
  338. distributable under the condition that the body of the text is
  339. unaltered.  Distribution is permitted for electronic distribution via
  340. Aminet, BBS'es, and other computer networks,  for profit and
  341. not-for-profit shareware distributions via CD-ROM or floppy disk, and
  342. through magazines, whether in print or on disk.  It would be nice
  343. though if CD-ROM or magazine publishers let me know if you plan on
  344. using this (and a freebie would be greatly appreciated :->).
  345. Commercial use to manufacture these adaptors for profit _MUST_ first
  346. obtain permission from me.
  347.  
  348. =====================================================================
  349.  
  350. Author information:
  351.  
  352. Postal Address:  Darren Ewaniuk
  353.                  #213 5432 Riverbend Road
  354.                  Edmonton, Alberta, Canada
  355.                  T6H 5E1
  356.  
  357. Internet:        ewaniu@ee.ualberta.ca -or-
  358.                  Darren_Ewaniuk@cuehere.edmonton.ab.ca
  359.  
  360. I work as an Electrical Engineer in my day job, and like to design
  361. stuff for the Amiga as a hobby.  I've done some freeware hacks such
  362. as this, and also have worked on some Amiga projects for AmiTrix
  363. Development.
  364.  
  365. Please note as above that I assume absolutely no professional
  366. responsibility whatsoever for the design, construction, installation,
  367. or use of this project.
  368. (Those Engineering Law books made me paranoid :->)
  369.  
  370. =====================================================================
  371.